﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/ModlingMasterPage.master"
    AutoEventWireup="true" CodeBehind="SearchInImagesView.aspx.cs" Inherits="RMS.SearchInImagesView" %>

<asp:Content ID="Content1" ContentPlaceHolderID="PagContent" runat="server">
    <table class="Details">
        <tr>
            <td colspan="2" class="header">
                Search In Images
            </td>
        </tr>
        <tr>
            <td class="label">
                UploadImage
            </td>
            <td>
                <asp:FileUpload ID="ImgFileUpload" CssClass="button" Width="100%" runat="server" />
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <center>
                    <asp:Button ID="BtnAddImage" runat="server" ValidationGroup="AddImage" Text="Add Image"
                        OnClick="BtnAddImage_Click" />
                </center>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <asp:GridView ID="gvImges" runat="server" ShowHeader="true" AutoGenerateColumns="false"
                    DataKeyNames="ImageID" OnRowDataBound="gvImges_RowDataBound" Visible="false">
                    <Columns>
                        <asp:BoundField DataField="RequestId" HeaderText="Request Id"></asp:BoundField>
                        <asp:TemplateField>
                            <ItemTemplate>
                                <asp:HyperLink ID="hplImage" Target="_search" runat="server">View</asp:HyperLink>
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                </asp:GridView>
            </td>
        </tr>
    </table>
</asp:Content>
